package cn.zt.service;

import cn.zt.common.Result;
import cn.zt.domain.Balance;
import cn.zt.domain.Bankcard;
import cn.zt.domain.vo.RechargeVo;
import cn.zt.domain.vo.TransferVo;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author 86182
* @description 针对表【balance(余额表
)】的数据库操作Service
* @createDate 2024-09-03 19:10:48
*/
public interface BalanceService extends IService<Balance> {


    Result transfer(TransferVo transferVo);

    Result selectBalanceByBankCard(String bankCard);
    int addBalance(Balance balance);


   Bankcard selectbalance(String bankCard);


    Result addMoney(RechargeVo rechargeVo);

    Result withdrawals(RechargeVo rechargeVo);
    Result CreditToBank(Balance balance);

    Result BankToCredit(Balance balance);
}
